package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.SealTempJurVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 印章转授管理对象 seal_tempjur
 * 
 * @author ess
 * @date 2021-11-03
 */
public class SealTempjur extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 转授Id */
    private String tempJurId;

    /** 转授人id */
    @Excel(name = "转授人id")
    private String jurPersonId;

    /** 被转授人id */
    @Excel(name = "被转授人id")
    private String useJurPersonId;

    /** 授权信息Id */
    @Excel(name = "授权信息Id")
    private String sealJurId;

    /** 到期时间，不能超过原本授权信息的到期时间 */
    @Excel(name = "到期时间")
    private String dueTime;

    /** 使用次数  不能超过原本授权信息的使用次数 */
    @Excel(name = "使用次数")
    private Long useCount;


    private Long useCountTemp;

    /** 状态 0 有效 1无效 */
    @Excel(name = "状态 0 有效 1无效")
    private Long state;

    private SealTempJurVo sealTempJurVo;

    public void setTempJurId(String tempJurId) 
    {
        this.tempJurId = tempJurId;
    }

    public String getTempJurId() 
    {
        return tempJurId;
    }
    public void setJurPersonId(String jurPersonId) 
    {
        this.jurPersonId = jurPersonId;
    }

    public String getJurPersonId() 
    {
        return jurPersonId;
    }
    public void setUseJurPersonId(String useJurPersonId) 
    {
        this.useJurPersonId = useJurPersonId;
    }

    public String getUseJurPersonId() 
    {
        return useJurPersonId;
    }
    public void setSealJurId(String sealJurId) 
    {
        this.sealJurId = sealJurId;
    }

    public String getSealJurId() 
    {
        return sealJurId;
    }
    public void setDueTime(String dueTime) 
    {
        this.dueTime = dueTime;
    }

    public String getDueTime() 
    {
        return dueTime;
    }
    public void setUseCount(Long useCount) 
    {
        this.useCount = useCount;
    }

    public Long getUseCount() 
    {
        return useCount;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    public SealTempJurVo getSealTempJurVo() {
        return sealTempJurVo;
    }

    public void setSealTempJurVo(SealTempJurVo sealTempJurVo) {
        this.sealTempJurVo = sealTempJurVo;
    }

    public Long getUseCountTemp() {
        return useCountTemp;
    }

    public void setUseCountTemp(Long useCountTemp) {
        this.useCountTemp = useCountTemp;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tempJurId", getTempJurId())
            .append("jurPersonId", getJurPersonId())
            .append("useJurPersonId", getUseJurPersonId())
            .append("sealJurId", getSealJurId())
            .append("dueTime", getDueTime())
            .append("useCount", getUseCount())
            .append("state", getState())
            .toString();
    }
}
